package ece.pdx.finalproject.roleplay;

public class ToDoList 
{
    
    private Role role;
	private int id;
	private String text;
    private String date;
	public int getId() 
	{
		return id;
	}

	public String getText() 
	{
		return text;
	}

    public String getRole()
    {
    	return role.getRole(); 
    }
	public void setId(int id)
	{
		this.id = id;
	}

	public void setText(String text) {
		this.text = text;
	}
	public void setRole(String role)
	{
		this.role=Role.valueOf(role);
	}
	public String getDate()
	{
		return date;
	}
	public void setDate(String date)
	{
		this.date=date;
	}
	
}